package com.xuwang.pojo;

import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 许可申请表(Apply)实体类
 *
 * @author yuepeng
 * @since 2021-09-17 17:19:05
 * @version 1.0
 */
@ApiModel(value = "Apply",description = "许可申请表")
public class Apply implements Serializable {
    private static final long serialVersionUID = -87851136859848329L;
    /**
    * 许可申请id
    */
	@ApiModelProperty(name = "id",notes = "许可申请id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 申请类型（0为生产、1为餐饮经营）
    */
	@ApiModelProperty(name = "type",notes = "申请类型（0为生产、1为餐饮经营）",dataType = "Integer",required = true)
    private Integer type;
    /**
    * 企业id
    */
	@ApiModelProperty(name = "companyId",notes = "企业id",dataType = "Integer",required = true)
    private Integer companyId;
    /**
    * 申请日期
    */
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	@ApiModelProperty(name = "applyTime",notes = "申请日期",dataType = "Date",required = true)
    private Timestamp applyTime;
    /**
    * 申请人名字
    */
	@ApiModelProperty(name = "applyName",notes = "申请人名字",dataType = "String",required = true)
    private String applyName;
    /**
    * 备注(先获取企业的)
    */
	@ApiModelProperty(name = "remark",notes = "备注(先获取企业的)",dataType = "String",required = true)
    private String remark;
    /**
    * 审核状态(-1为未通过审核，0为待审核，1为审核通过)
    */
	@ApiModelProperty(name = "status",notes = "审核状态",dataType = "Integer",required = false)
    private Integer status;
    /**
     * 关联企业
     */
    @ApiModelProperty(name = "companyInfo",notes = "关联企业",dataType = "CompanyInfo",required = true)
	private CompanyInfo companyInfo;

    public CompanyInfo getCompanyInfo() {
        return companyInfo;
    }

    public void setCompanyInfo(CompanyInfo companyInfo) {
        this.companyInfo = companyInfo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
        
    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Timestamp getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Timestamp applyTime) {
        this.applyTime = applyTime;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
        
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
